package com.bl.pet.service;

import com.bl.basic.util.JsonResult;
import com.bl.pet.domain.Pet;
import com.bl.basic.service.IBaseService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Bao
 * @since 2022-08-06
 */
public interface IPetService extends IBaseService<Pet> {
    /**
     * 下架
     * @param ids
     */
    void offsale(Long[] ids);

    /**
     *  上架
     * @param ids
     * @param request
     */
    void onsale(Long[] ids, HttpServletRequest request);


}
